-- GENERATED SPELL FOR [Frostsaber Pride Watcher] --


function spell0_7434(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(3009,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7434', 674, 1)
end

function spell1_7434(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(15716,pUnit)
pUnit:RegisterEvent('Sorts_7434', 550, 1)
end

function spell2_7434(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14921,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7434', 0, 1)
end

function Sorts_7434(pUnit, Event)
local choix_sorts_7434 = math.random(0, 2)
if choix_sorts_7434 == 0 then
pUnit:RegisterEvent('spell0_7434', 1, 1)
end
if choix_sorts_7434 == 1 then
pUnit:RegisterEvent('spell1_7434', 1, 1)
end
if choix_sorts_7434 == 2 then
pUnit:RegisterEvent('spell2_7434', 1, 1)
end
end

function mob7434_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7434', math.random(1500, 3000), 1)
end

function mob7434_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7434_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7434_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7434, 1, 'mob7434_Action')
RegisterUnitEvent(7434, 2, 'mob7434_Leave')
RegisterUnitEvent(7434, 3, 'mob7434_Kill')
RegisterUnitEvent(7434, 4, 'mob7434_Die')
